module.exports = [
    {
        url: '/api/page',
        type: 'get',
        response: () => {
            return {
                code: 200,
                random: '@integer(300, 5000)',
                data: {
                    'rows': [{
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/captcha/image_GET",
                        "name": null,
                        "antPattern": "/captcha/image",
                        "method": "GET",
                        "className": "com.uublue.application.controller.CaptchaController",
                        "methodName": "getImage",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/api/page_GET",
                        "name": "查询接口列表",
                        "antPattern": "/api/page",
                        "method": "GET",
                        "className": "com.uublue.system.controller.ApiController",
                        "methodName": "list",
                        "permissions": "system:api:read",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 2,
                            "name": "查询接口列表",
                            "pagePath": "system/api/index",
                            "apiId": "/api/page_GET",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/page-api/sync_POST",
                        "name": "同步页面接口",
                        "antPattern": "/page-api/sync",
                        "method": "POST",
                        "className": "com.uublue.system.controller.ApiController",
                        "methodName": "syncPageApis",
                        "permissions": "system:page-api:create&&system:page-api:delete",
                        "roles": "ADMIN",
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 1,
                            "name": "同步页面接口",
                            "pagePath": "system/api/index",
                            "apiId": "/page-api/sync_POST",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/department_PUT",
                        "name": "修改部门",
                        "antPattern": "/department",
                        "method": "PUT",
                        "className": "com.uublue.system.controller.DepartmentController",
                        "methodName": "updateDepartment",
                        "permissions": "system:department:update",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 5,
                            "name": "修改部门",
                            "pagePath": "system/dept/index",
                            "apiId": "/department_PUT",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/department_POST",
                        "name": "创建部门",
                        "antPattern": "/department",
                        "method": "POST",
                        "className": "com.uublue.system.controller.DepartmentController",
                        "methodName": "addDepartment",
                        "permissions": "system:department:create",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 4,
                            "name": "创建部门",
                            "pagePath": "system/dept/index",
                            "apiId": "/department_POST",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/department_DELETE",
                        "name": "删除部门",
                        "antPattern": "/department",
                        "method": "DELETE",
                        "className": "com.uublue.system.controller.DepartmentController",
                        "methodName": "removeDepartment",
                        "permissions": "system:department:delete",
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/department/page_GET",
                        "name": "查询部门列表",
                        "antPattern": "/department/page",
                        "method": "GET",
                        "className": "com.uublue.system.controller.DepartmentController",
                        "methodName": "queryDepartment",
                        "permissions": "system:department:read",
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/department/tree_GET",
                        "name": "查询部门树",
                        "antPattern": "/department/tree",
                        "method": "GET",
                        "className": "com.uublue.system.controller.DepartmentController",
                        "methodName": "getDepartmentTree",
                        "permissions": "system:department:read",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 3,
                            "name": "查询部门树",
                            "pagePath": "system/dept/index",
                            "apiId": "/department/tree_GET",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }, {
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 9,
                            "name": "查询部门树",
                            "pagePath": "system/user/index",
                            "apiId": "/department/tree_GET",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/menu_GET",
                        "name": "查询菜单",
                        "antPattern": "/menu",
                        "method": "GET",
                        "className": "com.uublue.system.controller.MenuController",
                        "methodName": "queryMenu",
                        "permissions": "system:menu:read",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 7,
                            "name": "查询菜单",
                            "pagePath": "system/menu/index",
                            "apiId": "/menu_GET",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/menu_POST",
                        "name": "初始化菜单",
                        "antPattern": "/menu",
                        "method": "POST",
                        "className": "com.uublue.system.controller.MenuController",
                        "methodName": "initMenu",
                        "permissions": "system:menu:create",
                        "roles": "ADMIN",
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 6,
                            "name": "初始化菜单",
                            "pagePath": "system/menu/index",
                            "apiId": "/menu_POST",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/menu/me_GET",
                        "name": "查询当前用户的菜单",
                        "antPattern": "/menu/me",
                        "method": "GET",
                        "className": "com.uublue.system.controller.MenuController",
                        "methodName": "getCuMenu",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/menu-item_PUT",
                        "name": "修改菜单项",
                        "antPattern": "/menu-item",
                        "method": "PUT",
                        "className": "com.uublue.system.controller.MenuController",
                        "methodName": "updateMenuItem",
                        "permissions": "system:menu:update",
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/menu-item/api_GET",
                        "name": "查询菜单页下的接口",
                        "antPattern": "/menu-item/api",
                        "method": "GET",
                        "className": "com.uublue.system.controller.MenuController",
                        "methodName": "getMenuPageApis",
                        "permissions": "system:api:read",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 8,
                            "name": "查询菜单页下的接口",
                            "pagePath": "system/menu/index",
                            "apiId": "/menu-item/api_GET",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/menu-item/*_DELETE",
                        "name": "删除菜单",
                        "antPattern": "/menu-item/*",
                        "method": "DELETE",
                        "className": "com.uublue.system.controller.MenuController",
                        "methodName": "removeMenuItem",
                        "permissions": "system:menu:delete",
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/oplog/findByDate_POST",
                        "name": "根据日期查找日志",
                        "antPattern": "/oplog/findByDate",
                        "method": "POST",
                        "className": "com.uublue.system.controller.SystemLogController",
                        "methodName": "findByDate",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/user_PUT",
                        "name": "修改用户",
                        "antPattern": "/user",
                        "method": "PUT",
                        "className": "com.uublue.system.controller.UserController",
                        "methodName": "updateUser",
                        "permissions": "system:user:update",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 12,
                            "name": "修改用户",
                            "pagePath": "system/user/index",
                            "apiId": "/user_PUT",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/user_POST",
                        "name": "创建用户",
                        "antPattern": "/user",
                        "method": "POST",
                        "className": "com.uublue.system.controller.UserController",
                        "methodName": "addUser",
                        "permissions": "system:user:create",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 11,
                            "name": "创建用户",
                            "pagePath": "system/user/index",
                            "apiId": "/user_POST",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/user/*_GET",
                        "name": "查询用户",
                        "antPattern": "/user/*",
                        "method": "GET",
                        "className": "com.uublue.system.controller.UserController",
                        "methodName": "getUser",
                        "permissions": "system:user:read",
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/user/me_GET",
                        "name": "查询用户",
                        "antPattern": "/user/me",
                        "method": "GET",
                        "className": "com.uublue.system.controller.UserController",
                        "methodName": "getMyself",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/user/*_DELETE",
                        "name": "删除用户",
                        "antPattern": "/user/*",
                        "method": "DELETE",
                        "className": "com.uublue.system.controller.UserController",
                        "methodName": "removeUser",
                        "permissions": "system:user:delete",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 13,
                            "name": "删除用户",
                            "pagePath": "system/user/index",
                            "apiId": "/user/*_DELETE",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/user/page_GET",
                        "name": "查询用户列表",
                        "antPattern": "/user/page",
                        "method": "GET",
                        "className": "com.uublue.system.controller.UserController",
                        "methodName": "queryUser",
                        "permissions": "system:user:read",
                        "roles": null,
                        "pageApis": [{
                            "createTime": "2024-04-17T10:35:29.000+00:00",
                            "lastUpdateTime": null,
                            "createBy": 1,
                            "lastUpdateBy": null,
                            "tenantId": null,
                            "id": 10,
                            "name": "查询用户列表",
                            "pagePath": "system/user/index",
                            "apiId": "/user/page_GET",
                            "api": null,
                            "permissions": null,
                            "roles": null
                        }
                        ]
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/user/password_PUT",
                        "name": "修改当前用户密码",
                        "antPattern": "/user/password",
                        "method": "PUT",
                        "className": "com.uublue.system.controller.UserController",
                        "methodName": "updateUserPassword",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/error_",
                        "name": null,
                        "antPattern": "/error",
                        "method": "",
                        "className": "org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController",
                        "methodName": "errorHtml",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/oauth/authorize_",
                        "name": null,
                        "antPattern": "/oauth/authorize",
                        "method": "",
                        "className": "org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint",
                        "methodName": "authorize",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/oauth/authorize_POST",
                        "name": null,
                        "antPattern": "/oauth/authorize",
                        "method": "POST",
                        "className": "org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint",
                        "methodName": "approveOrDeny",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/oauth/check_token_POST",
                        "name": null,
                        "antPattern": "/oauth/check_token",
                        "method": "POST",
                        "className": "org.springframework.security.oauth2.provider.endpoint.CheckTokenEndpoint",
                        "methodName": "checkToken",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/oauth/token_GET",
                        "name": null,
                        "antPattern": "/oauth/token",
                        "method": "GET",
                        "className": "org.springframework.security.oauth2.provider.endpoint.TokenEndpoint",
                        "methodName": "getAccessToken",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/oauth/token_POST",
                        "name": null,
                        "antPattern": "/oauth/token",
                        "method": "POST",
                        "className": "org.springframework.security.oauth2.provider.endpoint.TokenEndpoint",
                        "methodName": "postAccessToken",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/oauth/token_key_GET",
                        "name": null,
                        "antPattern": "/oauth/token_key",
                        "method": "GET",
                        "className": "org.springframework.security.oauth2.provider.endpoint.TokenKeyEndpoint",
                        "methodName": "getKey",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/oauth/confirm_access_",
                        "name": null,
                        "antPattern": "/oauth/confirm_access",
                        "method": "",
                        "className": "org.springframework.security.oauth2.provider.endpoint.WhitelabelApprovalEndpoint",
                        "methodName": "getAccessConfirmation",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/oauth/error_",
                        "name": null,
                        "antPattern": "/oauth/error",
                        "method": "",
                        "className": "org.springframework.security.oauth2.provider.endpoint.WhitelabelErrorEndpoint",
                        "methodName": "handleError",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/swagger-resources_GET",
                        "name": null,
                        "antPattern": "/swagger-resources",
                        "method": "GET",
                        "className": "springfox.documentation.swagger.web.ApiResourceController",
                        "methodName": "swaggerResources",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/swagger-resources/configuration/ui_GET",
                        "name": null,
                        "antPattern": "/swagger-resources/configuration/ui",
                        "method": "GET",
                        "className": "springfox.documentation.swagger.web.ApiResourceController",
                        "methodName": "uiConfiguration",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/swagger-resources/configuration/security_GET",
                        "name": null,
                        "antPattern": "/swagger-resources/configuration/security",
                        "method": "GET",
                        "className": "springfox.documentation.swagger.web.ApiResourceController",
                        "methodName": "securityConfiguration",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }, {
                        "createTime": null,
                        "lastUpdateTime": null,
                        "id": "/v2/api-docs_GET",
                        "name": null,
                        "antPattern": "/v2/api-docs",
                        "method": "GET",
                        "className": "springfox.documentation.swagger2.web.Swagger2ControllerWebMvc",
                        "methodName": "getDocumentation",
                        "permissions": null,
                        "roles": null,
                        "pageApis": []
                    }]
                }
            }
        }
    }

]